﻿<UserControl x:Class="FullSync.FullSyncContent"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             Background="Black"
             TextBlock.Foreground="White"
             d:DesignHeight="300" d:DesignWidth="600">
  <UserControl.Resources>
    <Style TargetType="Button" x:Key="btnSelection">
      <Style.Setters>
        <Setter Property="Template">
          <Setter.Value>
            <ControlTemplate  TargetType="Button">
              <Border Width="{TemplateBinding Width}" Background="Transparent" Height="30" x:Name="border" BorderBrush="#2B436C" Margin="2" BorderThickness="1">
                <Grid>
                  <ContentPresenter   HorizontalAlignment="Center" TextBlock.Foreground="White" VerticalAlignment="Center"/>
                </Grid>
              </Border>
              <ControlTemplate.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                  <Setter Property="Cursor" Value="Hand" />
                  <Setter Property="BorderBrush" Value="#2F7AD5" TargetName="border" />
                </Trigger>
                <Trigger Property="IsPressed" Value="True">
                  <Setter Property="Background" Value="#22FFFFFF" TargetName="border" />
                </Trigger>
              </ControlTemplate.Triggers>
            </ControlTemplate>
          </Setter.Value>
        </Setter>
      </Style.Setters>
    </Style>
    
  </UserControl.Resources>
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="*"/>
      <RowDefinition Height="30" />
      <RowDefinition Height="30" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="*" />
      <ColumnDefinition Width="60"/>
      <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <Button Grid.Column="0" Command="{Binding LeftCommand}" Grid.Row="0" Content="Click to select source path" Margin="10,0" Style="{StaticResource btnSelection}" />
    <TextBlock Text="→" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="30" FontWeight="ExtraBold" Foreground="White"/>
    <Button Grid.Column="2" Grid.Row="0" Content="Click to select target path" Margin="10,0" Style="{StaticResource btnSelection}" />
    <Button Content="Go" Grid.Row="1" Grid.ColumnSpan="3"  Width="100" Height="30"/>
 </Grid>
</UserControl>
